<div class="main row">
    <div class="catego-title">
        <h2 class="clearfix">
            <a href="#"><span><?php echo $page_title; ?></span></a>            
        </h2>
    </div> 
    <ul class="list-media">
        <?php
        $i = 1;
        if ($aVideo != null && count($aVideo) > 0) {
            foreach ($aVideo as $item) {
        ?>
        <li>    
            <a onclick="thevid=document.getElementById('thevideo<?php echo $i;?>'); thevid.style.display='block'; this.style.display='none'; document.getElementById('video-id<?php echo $i;?>').style.display='none';">
                <span id="video-icon-id<?php echo $i;?>" class="icon-play"></span>
                <img id="video-id<?php echo $i;?>" width="153" height="90" alt="" src="<?php echo $item->img; ?>" />
            </a>
            <div id="thevideo<?php echo $i;?>" style="display: none;" class="video-container">
                <iframe id="ytplayer<?php echo $i;?>" type="text/html" src="//www.youtube.com/embed/<?php echo $item->link; ?>?rel=0&amp;autoplay=1&showinfo=0" frameborder="0" allowfullscreen></iframe>
            </div>
            <h4><a onclick="thevid=document.getElementById('thevideo<?php echo $i;?>'); thevid.style.display='block'; document.getElementById('video-id<?php echo $i;?>').style.display='none'; document.getElementById('video-icon-id<?php echo $i;?>').style.display='none'" title="<?php echo $item->title; ?>"><?php echo $item->title; ?></a></h4>
        </li>
        <?php
                $i++;
            }
        } else {
            echo "Thông tin đang cập nhật.";
        }
        ?>
    </ul>
    <?php echo $paging; ?>
</div>

<div class="block-adv">
</div>